<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>NumCpp: nc::Poly1d&lt; dtype &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">NumCpp
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">A C++ implementation of the Python Numpy library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classnc_1_1_poly1d.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">nc::Poly1d&lt; dtype &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_polynomial_8hpp_source.html">Polynomial.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a0003fc289206aad178df9a8d5834384f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a0003fc289206aad178df9a8d5834384f">Poly1d</a> () noexcept=default</td></tr>
<tr class="separator:a0003fc289206aad178df9a8d5834384f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a342131534c0d1324be479b6a41e76525"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a342131534c0d1324be479b6a41e76525">Poly1d</a> (const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;inValues, bool isRoots=false)</td></tr>
<tr class="separator:a342131534c0d1324be479b6a41e76525"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14d19ab43dc4f354ce1a583a369822b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a14d19ab43dc4f354ce1a583a369822b3">coefficients</a> () const noexcept</td></tr>
<tr class="separator:a14d19ab43dc4f354ce1a583a369822b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eed4e24b0713965446130e44d2d30f4"><td class="memItemLeft" align="right" valign="top">dtype&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a7eed4e24b0713965446130e44d2d30f4">operator()</a> (dtype inValue) const noexcept</td></tr>
<tr class="separator:a7eed4e24b0713965446130e44d2d30f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0a0a8d19598451836861bb43a7d2f72"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#aa0a0a8d19598451836861bb43a7d2f72">operator*</a> (const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;inOtherPoly) const noexcept</td></tr>
<tr class="separator:aa0a0a8d19598451836861bb43a7d2f72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa37af655ace63c299538d57021294d61"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#aa37af655ace63c299538d57021294d61">operator*=</a> (const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;inOtherPoly) noexcept</td></tr>
<tr class="separator:aa37af655ace63c299538d57021294d61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabfc041f684fb6f98a0df0777e375695"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#aabfc041f684fb6f98a0df0777e375695">operator+</a> (const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;inOtherPoly) const noexcept</td></tr>
<tr class="separator:aabfc041f684fb6f98a0df0777e375695"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d481cb3879cb651d44ab7fb59ff9296"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a4d481cb3879cb651d44ab7fb59ff9296">operator+=</a> (const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;inOtherPoly) noexcept</td></tr>
<tr class="separator:a4d481cb3879cb651d44ab7fb59ff9296"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58c13341cd99a2b325dc3ff43ea4f732"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a58c13341cd99a2b325dc3ff43ea4f732">operator-</a> (const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;inOtherPoly) const noexcept</td></tr>
<tr class="separator:a58c13341cd99a2b325dc3ff43ea4f732"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1532ecc5494f2409f06b0037e360f1a5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a1532ecc5494f2409f06b0037e360f1a5">operator-=</a> (const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;inOtherPoly) noexcept</td></tr>
<tr class="separator:a1532ecc5494f2409f06b0037e360f1a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81d17d865ab14491f11d13912b13f80e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a81d17d865ab14491f11d13912b13f80e">operator^</a> (<a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inPower) const noexcept</td></tr>
<tr class="separator:a81d17d865ab14491f11d13912b13f80e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a496d984bfae45cadae3665cea6b3d7c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a496d984bfae45cadae3665cea6b3d7c9">operator^=</a> (<a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> inPower) noexcept</td></tr>
<tr class="separator:a496d984bfae45cadae3665cea6b3d7c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98b30308386e0cfb32b2f6a2debbe83c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a98b30308386e0cfb32b2f6a2debbe83c">order</a> () const noexcept</td></tr>
<tr class="separator:a98b30308386e0cfb32b2f6a2debbe83c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeffc6cebcd30ed1a2b478958b732c367"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#aeffc6cebcd30ed1a2b478958b732c367">print</a> () const noexcept</td></tr>
<tr class="separator:aeffc6cebcd30ed1a2b478958b732c367"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16f1c9b8cddcfcf8999277d6446251e1"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a16f1c9b8cddcfcf8999277d6446251e1">str</a> () const noexcept</td></tr>
<tr class="separator:a16f1c9b8cddcfcf8999277d6446251e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a80f939448c8b58ab286c57ab0212b785"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classnc_1_1_poly1d.html#a80f939448c8b58ab286c57ab0212b785">operator&lt;&lt;</a> (std::ostream &amp;inOStream, const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;inPoly) noexcept</td></tr>
<tr class="separator:a80f939448c8b58ab286c57ab0212b785"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename dtype&gt;<br />
class nc::Poly1d&lt; dtype &gt;</h3>

<p>A one-dimensional polynomial class. A convenience class, used to encapsulate "natural" operations on polynomials </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a0003fc289206aad178df9a8d5834384f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0003fc289206aad178df9a8d5834384f">&#9670;&nbsp;</a></span>Poly1d() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::<a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Default Constructor (not very usefull, but needed for other containers. </p>

</div>
</div>
<a id="a342131534c0d1324be479b6a41e76525"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a342131534c0d1324be479b6a41e76525">&#9670;&nbsp;</a></span>Poly1d() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::<a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inValues</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>isRoots</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inValues</td><td>(polynomial coefficients in ascending order of power if second input is false, polynomial roots if second input is true) </td></tr>
    <tr><td class="paramname">isRoots</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a14d19ab43dc4f354ce1a583a369822b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14d19ab43dc4f354ce1a583a369822b3">&#9670;&nbsp;</a></span>coefficients()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_nd_array.html">NdArray</a>&lt;dtype&gt; <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::coefficients </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> coefficients</p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library. ">NdArray</a> </dd></dl>

</div>
</div>
<a id="a7eed4e24b0713965446130e44d2d30f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7eed4e24b0713965446130e44d2d30f4">&#9670;&nbsp;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">dtype <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">dtype&#160;</td>
          <td class="paramname"><em>inValue</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Evaluates the Poly1D object for the input value</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inValue</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </dd></dl>

</div>
</div>
<a id="aa0a0a8d19598451836861bb43a7d2f72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0a0a8d19598451836861bb43a7d2f72">&#9670;&nbsp;</a></span>operator*()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt;dtype&gt; <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::operator* </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inOtherPoly</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Multiplies the two <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> objects</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inOtherPoly</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </dd></dl>

</div>
</div>
<a id="aa37af655ace63c299538d57021294d61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa37af655ace63c299538d57021294d61">&#9670;&nbsp;</a></span>operator*=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt;dtype&gt;&amp; <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::operator*= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inOtherPoly</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Multiplies the two <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> objects</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inOtherPoly</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </dd></dl>

</div>
</div>
<a id="aabfc041f684fb6f98a0df0777e375695"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabfc041f684fb6f98a0df0777e375695">&#9670;&nbsp;</a></span>operator+()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt;dtype&gt; <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::operator+ </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inOtherPoly</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Adds the two <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> objects</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inOtherPoly</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </dd></dl>

</div>
</div>
<a id="a4d481cb3879cb651d44ab7fb59ff9296"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d481cb3879cb651d44ab7fb59ff9296">&#9670;&nbsp;</a></span>operator+=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt;dtype&gt;&amp; <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::operator+= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inOtherPoly</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Adds the two <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> objects</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inOtherPoly</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </dd></dl>

</div>
</div>
<a id="a58c13341cd99a2b325dc3ff43ea4f732"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58c13341cd99a2b325dc3ff43ea4f732">&#9670;&nbsp;</a></span>operator-()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt;dtype&gt; <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::operator- </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inOtherPoly</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Subtracts the two <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> objects</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inOtherPoly</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </dd></dl>

</div>
</div>
<a id="a1532ecc5494f2409f06b0037e360f1a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1532ecc5494f2409f06b0037e360f1a5">&#9670;&nbsp;</a></span>operator-=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt;dtype&gt;&amp; <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::operator-= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inOtherPoly</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Subtracts the two <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> objects</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inOtherPoly</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </dd></dl>

</div>
</div>
<a id="a81d17d865ab14491f11d13912b13f80e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a81d17d865ab14491f11d13912b13f80e">&#9670;&nbsp;</a></span>operator^()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt;dtype&gt; <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::operator^ </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a>&#160;</td>
          <td class="paramname"><em>inPower</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Raise the <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> to an integer power</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inPower</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </dd></dl>

</div>
</div>
<a id="a496d984bfae45cadae3665cea6b3d7c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a496d984bfae45cadae3665cea6b3d7c9">&#9670;&nbsp;</a></span>operator^=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt;dtype&gt;&amp; <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::operator^= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a>&#160;</td>
          <td class="paramname"><em>inPower</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Raise the <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> to an integer power</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inPower</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </dd></dl>

</div>
</div>
<a id="a98b30308386e0cfb32b2f6a2debbe83c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98b30308386e0cfb32b2f6a2debbe83c">&#9670;&nbsp;</a></span>order()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacenc.html#aacba4d66f94f6f53637e23c5d82e20d8">uint32</a> <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::order </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the order of the <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a></p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_nd_array.html" title="Holds 1D and 2D arrays, the main work horse of the NumCpp library. ">NdArray</a> </dd></dl>

</div>
</div>
<a id="aeffc6cebcd30ed1a2b478958b732c367"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeffc6cebcd30ed1a2b478958b732c367">&#9670;&nbsp;</a></span>print()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::print </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Prints the string representation of the <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> object to the console </p>

</div>
</div>
<a id="a16f1c9b8cddcfcf8999277d6446251e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16f1c9b8cddcfcf8999277d6446251e1">&#9670;&nbsp;</a></span>str()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classnc_1_1_poly1d.html">nc::Poly1d</a>&lt; dtype &gt;::str </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Converts the polynomial to a string representation</p>
<dl class="section return"><dt>Returns</dt><dd><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a80f939448c8b58ab286c57ab0212b785"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80f939448c8b58ab286c57ab0212b785">&#9670;&nbsp;</a></span>operator&lt;&lt;</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename dtype&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>inOStream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a>&lt; dtype &gt; &amp;&#160;</td>
          <td class="paramname"><em>inPoly</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>io operator for the <a class="el" href="classnc_1_1_poly1d.html">Poly1d</a> class</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">inOStream</td><td></td></tr>
    <tr><td class="paramname">inPoly</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::ostream </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_polynomial_8hpp_source.html">Polynomial.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacenc.html">nc</a></li><li class="navelem"><a class="el" href="classnc_1_1_poly1d.html">Poly1d</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  </ul>
</div>
</body>
</html>
